[INFO] fetching crate nfc1 0.5.2...
[INFO] checking nfc1-0.5.2 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate nfc1 0.5.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate nfc1 0.5.2 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nfc1 0.5.2
[INFO] finished tweaking crates.io crate nfc1 0.5.2
[INFO] tweaked toml for crates.io crate nfc1 0.5.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate nfc1 0.5.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mrtd1 v0.1.2
[INFO] [stderr]   Downloaded hex_fmt v0.3.0
[INFO] [stderr]   Downloaded iso7816-tlv v0.4.3
[INFO] [stderr]   Downloaded untrusted v0.9.0
[INFO] [stderr]   Downloaded des v0.8.1
[INFO] [stderr]   Downloaded block-padding v0.3.3
[INFO] [stderr]   Downloaded cbc v0.1.2
[INFO] [stderr]   Downloaded usb-compat-01-sys v0.2.3
[INFO] [stderr]   Downloaded find-winsdk v0.2.0
[INFO] [stderr]   Downloaded libusb1-sys v0.5.0
[INFO] [stderr]   Downloaded nfc1 v0.5.1
[INFO] [stderr]   Downloaded nfc1-sys v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93bc61225c9c95d73f1ef169c75447e31be09aeefb1d25e3cc6aa5e2cbcb275e
[INFO] running `Command { std: "docker" "start" "-a" "93bc61225c9c95d73f1ef169c75447e31be09aeefb1d25e3cc6aa5e2cbcb275e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93bc61225c9c95d73f1ef169c75447e31be09aeefb1d25e3cc6aa5e2cbcb275e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93bc61225c9c95d73f1ef169c75447e31be09aeefb1d25e3cc6aa5e2cbcb275e", kill_on_drop: false }`
[INFO] [stdout] 93bc61225c9c95d73f1ef169c75447e31be09aeefb1d25e3cc6aa5e2cbcb275e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f32c6ac66de9d4dff5d7418622806952dd0821e1384c730cf404039729f94806
[INFO] running `Command { std: "docker" "start" "-a" "f32c6ac66de9d4dff5d7418622806952dd0821e1384c730cf404039729f94806", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bindgen v0.58.1
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling libusb1-sys v0.5.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling bindgen v0.63.0
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]     Checking cpufeatures v0.2.6
[INFO] [stderr]     Checking os_str_bytes v6.5.0
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]     Checking hex_fmt v0.3.0
[INFO] [stderr]     Checking iso7816-tlv v0.4.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling regex v1.7.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking des v0.8.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]     Checking clap v3.2.23
[INFO] [stderr]    Compiling usb-compat-01-sys v0.2.3
[INFO] [stderr]    Compiling nfc1-sys v0.3.4
[INFO] [stderr]     Checking nfc1 v0.5.1
[INFO] [stderr]     Checking nfc1 v0.5.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking mrtd1 v0.1.2
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |         device.pn53x_write_register(0xfff7, 0b00000001, 0x01)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 |         device.pn53x_write_register(0xfff7, 0b00000001, 0x00)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         device.pn53x_write_register(0xffb0, 0b00100000, 0x20)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:55:10
[INFO] [stdout]    |
[INFO] [stdout] 55 |         device.pn53x_write_register(0xffb0, 0b00100000, 0x00)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |         device.pn53x_write_register(0xffb0, 0b00010000, 0x10)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 |         device.pn53x_write_register(0xffb0, 0b00010000, 0x00)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/read_mrtd.rs:68:48
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut bac_res = mrtd1::auth::bac::handshake(&mut device, &mrz)?;
[INFO] [stdout]    |                       --------------------------- ^^^^^^^^^^^ expected `nfc1::device::Device<'_>`, found `Device<'_>`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Device<'_>` and `nfc1::device::Device<'_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Device<'_>` is defined in crate `nfc1`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/device.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Device<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `nfc1::device::Device<'_>` is defined in crate `nfc1`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nfc1-0.5.1/src/device.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Device<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `nfc1` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mrtd1-0.1.2/src/auth/bac.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn handshake(device: &mut nfc1::Device, mrz: &Mrz) -> BoxResult<SessionKeys> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     device.pn53x_write_register(0xffb0, 0xff, 0x00)?;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/read_mrtd.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let contents = mrtd1::files::read_file(&mut device, &bac_res.ks_mac, &bac_res.ks_enc, &mut bac_res.ssc, file)?;
[INFO] [stdout]    |                        ----------------------- ^^^^^^^^^^^ expected `nfc1::device::Device<'_>`, found `Device<'_>`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Device<'_>` and `nfc1::device::Device<'_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Device<'_>` is defined in crate `nfc1`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/device.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Device<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `nfc1::device::Device<'_>` is defined in crate `nfc1`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nfc1-0.5.1/src/device.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Device<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `nfc1` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mrtd1-0.1.2/src/files/mod.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn read_file(device: &mut nfc1::Device, ks_mac: &[u8], ks_enc: &[u8], ssc: &mut u64, file: &File) -> BoxResult<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     device.pn53x_write_register(0xfff7, 0xff, 0x00)?;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device<'_>` in the current scope
[INFO] [stdout]   --> examples/dl533n_cs_test_capabilities.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     device.pn53x_write_register(0x6106, 0xff, 0x1b)?;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nfc1` (example "read_mrtd") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nfc1` (example "dl533n_cs_test_capabilities") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "f32c6ac66de9d4dff5d7418622806952dd0821e1384c730cf404039729f94806", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f32c6ac66de9d4dff5d7418622806952dd0821e1384c730cf404039729f94806", kill_on_drop: false }`
[INFO] [stdout] f32c6ac66de9d4dff5d7418622806952dd0821e1384c730cf404039729f94806
